package com.bolang.onlycode.demo.designPatterns.decorator;

public class Sausage extends PancakesDecotator{
    public Sausage(AbstractPancakes abstractPancakes) {
        super(abstractPancakes);
    }
    @Override
    protected String getMsg() {
        return super.getMsg()+ "1根香肠";
    }

    @Override
    protected int getPrice() {
        return super.getPrice()+2;
    }


}
